package ooExercise.ooday01;

public class CarTest {
    public static void main(String[] args) {
        Car ly=new Car("李云龙","玛莎拉蒂","黑",20);
        ly.start1();
        ly.run1();
        ly.stop1();
        System.out.println("---------------------");
        Car ly1=new Car("雷军","大众","白",1);
        ly1.start1();
        ly1.run1();
        ly1.stop1();
        System.out.println("---------------------");
        Car zs=new Car();
        zs.brand="奔驰";
        zs.color="黑";
        zs.price=5000;
        zs.start("张三");
        zs.run("李四");
        zs.stop("王五");
        System.out.println("---------------------");
        Car ls=new Car("雪佛兰","白",50);
        ls.start("阿芬");
        ls.run("阿芬");
        ls.stop("阿芬");
    }
}
